#define _CRT_SECURE_NO_WARNINGS

#include "queue.h"



void testQueue()
{
	Queue s;
	QueueInit(&s);

	QueuePush(&s, 1);
	QueuePush(&s, 2);
	QueuePush(&s, 3);
	QueuePush(&s, 3);

	QNode* cur = s.head;
	while (cur)
	{
		printf("%d", QueueTop(&s));
		QueuePop(&s);
	}


	QueueDestroy(&s);

}

int mian()
{
	testQueue();
	return 0;
}